package cn.aopmin.service.impl;

import cn.aopmin.service.UserService;
import cn.aopmin.domain.User;
import cn.aopmin.mapper.UserMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author aopmin
 * @date 2024/06/23
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User findById(Integer id) {
        return userMapper.selectById(id);
    }
}
